home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
game
/
think
/
UChesSrc.lha
/
debug13.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-07
|
700b
|
30 lines
#ifdef DEBUG13
if (flag.timeout && !background)
{
FILE *D;
int r, c, l;
struct leaf *xnode;
D = fopen ("/tmp/DEBUG", "a+");
fprintf (D, " %d ply %d sco %d TC %d gl %d cnt %d\n",
Sdepth, plyscore, score, TCcount,
globalpnt, TrPnt[2] - TrPnt[1]);
for (i = 1; tmp[i]; i++)
{
algbr (tmp[i] >> 8, tmp[i] & 0xff, 0);
fprintf (D, "%s ", mvstr[0]);
}
fprintf (D, "\n");
for (i = 1; PrVar[i]; i++)
{
algbr (PrVar[i] >> 8, PrVar[i] & 0xff, 0);
fprintf (D, "%s ", mvstr[0]);
}
fprintf (D, "\n");
algbr (root->f, root->t, root->flags);
fprintf (D, "%s ", mvstr[0]);
fprintf (D, "\n");
fclose (D);
}
#endif